﻿using Newtonsoft.Json;

namespace Douyu.Api.Entity
{
    public class RoomsEntity
    {
        /// <summary>
        /// 房间ID
        /// </summary>
        [JsonProperty(PropertyName = "room_id")]
        public int RoomId { get; set; }

        /// <summary>
        /// 房间图片，大小 320*180
        /// </summary>
        [JsonProperty(PropertyName = "room_src")]
        public string RoomSrc { get; set; }

        /// <summary>
        /// VerticalSrc
        /// </summary>
        [JsonProperty(PropertyName = "vertical_src")]
        public string VerticalSrc { get; set; }

        /// <summary>
        /// IsVertical
        /// </summary>
        [JsonProperty(PropertyName = "isVertical")]
        public int IsVertical { get; set; }

        /// <summary>
        /// 分类ID
        /// </summary>
        [JsonProperty(PropertyName = "cate_id")]
        public string CateId { get; set; }

        /// <summary>
        /// 房间名称
        /// </summary>
        [JsonProperty(PropertyName = "room_name")]
        public string RoomName { get; set; }

        /// <summary>
        /// 房间所属用户的 UID
        /// </summary>
        [JsonProperty(PropertyName = "owner_uid")]
        public string OwnerUid { get; set; }

        /// <summary>
        /// 房间所属用户的账号
        /// </summary>
        [JsonProperty(PropertyName = "nickname")]
        public string NickName { get; set; }

        /// <summary>
        /// 在线人数
        /// </summary>
        [JsonProperty(PropertyName = "online")]
        public int Online { get; set; }

        /// <summary>
        /// 房间的网址
        /// </summary>
        [JsonProperty(PropertyName = "url")]
        public string Url { get; set; }

        /// <summary>
        /// 游戏分类的网址
        /// </summary>
        [JsonProperty(PropertyName = "game_url")]
        public string GameUrl { get; set; }

        /// <summary>
        /// 游戏分类的名称
        /// </summary>
        [JsonProperty(PropertyName = "game_name")]
        public string GameName { get; set; }

        /// <summary>
        /// 房间所属用户的头像(URL)
        /// </summary>
        [JsonProperty(PropertyName = "avatar")]
        public string Avatar { get; set; }

    }
}
